package com.yby6;

import cn.dev33.satoken.SaManager;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


/**
 * @program: yangbuyi-rbac
 * @ClassName: YangBuYiApplication
 * @create: 2021-05-09 22:46
 * @author: yangshuai
 * @since： JDK1.8
 * @YangBuYiApplication: 启动类$
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableEncryptableProperties
@Slf4j
public class YangBuYiApplication {

    public static void main (String[] args) {
        SpringApplication.run(YangBuYiApplication.class, args);
        System.out.println("杨不易 启动成功 \n" + "" +
                                   "\n" +
                                   "                                                                                            \n" +
                                   "     ,--.-.  .-,--.                       _..---.                            ,--.-.  .-,--. \n" +
                                   "    /==/- / /=/_ /                      .' .'.-. \\                          /==/- / /=/_ /  \n" +
                                   "    \\==\\, \\/=/. /                      /==/- '=' /                          \\==\\, \\/=/. /   \n" +
                                   "     \\==\\  \\/ -/                       |==|-,   '                            \\==\\  \\/ -/    \n" +
                                   "      |==|  ,_/                        |==|  .=. \\                            |==|  ,_/     \n" +
                                   "      \\==\\-, /                         /==/- '=' ,|                           \\==\\-, /      \n" +
                                   "      /==/._/                         |==|   -   /                            /==/._/       \n" +
                                   "      `--`-`                          `-._`.___,'                             `--`-`        \n" +
                                   "");
        System.out.println("启动成功：Sa-Token配置如下：" + SaManager.getConfig());
    }

}
